package com.lnsf.dao;

import java.util.List;

import com.lnsf.entity.Department;


public interface DepartmentDao {
	
//	@Select("select * from emp where ename like #{ename} and sal>=#{minSal} and sal<=#{maxSal}")
//	public List<Department> getDepartmentByCondition(DepartmentCondition empCondition);
//	
//	@Select("select * from emp where ename like #{ename} and sal>=#{minSal} and sal<=#{maxSal}")
//	public List<Department> getDepartmentByCondition2(Map<String,String> maps);
//
//	@SelectProvider(type=com.lnsf.dao.DepartmentSqlProvider.class,method="getDepartmentByConditionClassSql")
//	public List<Department> getDepartmentByCondition3(DepartmentCondition empCondition);
//	
//	@SelectProvider(type=com.lnsf.dao.DepartmentSqlProvider.class,method="getDepartmentByConditionClassSql2")
//	public List<Department> getDepartmentByCondition4(Map<String,String> maps);
   
	public void addDepartment(Department emp);
	public void updateDepartment(Department emp);
	public void deleteDepartment(int empno);
	public Department getDepartmentById(int empno);
	public List<Department> getAllDepartment();
	
}
